package com.yydm.serviceacls.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 用户实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "user")
@ApiModel(value = "用户对象模型")
public class User implements Serializable {

    @ApiModelProperty(value = "id",required = true)
    private Long id;

    @ApiModelProperty(value = "用户名称",required = true)
    private String username;

    @ApiModelProperty(value = "用户密码",required = true)
    private String password;

    @ApiModelProperty(value = "用户性别",required = true)
    private int age;

    @ApiModelProperty(value = "用户电话",required = true)
    private String phone;

    @ApiModelProperty(value = "用户性别", required = true)
    private String sex;

    @ApiModelProperty(value = "用户头像", required = true)
    private String image;
}
